import axios from "@/axios/index";
export const getRole=(params)=>{
    return axios({
        method:'get',
        url:'sys/role/getRole',
        params:params
    })
}

export const insertRole=(params)=>{
    return axios({
        method:'post',
        url:'sys/role/insertRole',
        data:params
    })
}

export const deleteRole=(params)=>{
    return axios({
        method:'get',
        url:'sys/role/deleteRole',
        params:params
    })
}
